/**
 * Project Name:YCApiServer-dao
 * File Name:LyricsMapper.java
 * Package Name:com.yc.music.mapper.dao
 * Date:2016年5月7日下午4:18:00
 * Copyright (c) 2016 
 *
 */
package com.yc.music.mapper.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.yc.music.model.draft.Draft;

/**
 * ClassName: DraftMapper <br/>
 * Function: 草稿. <br/>
 * Reason: TODO ADD REASON(可选). <br/>
 * date: 2016年5月7日 下午4:18:00 <br/>
 *
 * @author qinhaiguan
 * @version 
 */
public interface DraftMapper {
	
	public List<Draft> getDraftList(@Param("uid") int uid,
			@Param("start") int start, @Param("size") int size);
	
	public long saveDraft(Draft draft) throws Exception;
	
	public void deleteDraftById(@Param("id") int id);
	
	public void updateDraft(Draft draft)throws Exception;
	
}
